package com.guldan.jaina.dto.users;

import com.guldan.jaina.dto.gauthority.GAuthorityDTO;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Silas.
 * Date: 2016/12/1
 * Time: 1:29
 */
public class UserCacheDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer userId;

    private String JSESSIONID;

    private String lastLoginTime;

    private UsersDTO user;

    private List<GAuthorityDTO> menu;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getJSESSIONID() {
        return JSESSIONID;
    }

    public void setJSESSIONID(String JSESSIONID) {
        this.JSESSIONID = JSESSIONID;
    }

    public String getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(String lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public UsersDTO getUser() {
        return user;
    }

    public void setUser(UsersDTO user) {
        this.user = user;
    }

    public List<GAuthorityDTO> getMenu() {
        return menu;
    }

    public void setMenu(List<GAuthorityDTO> menu) {
        this.menu = menu;
    }
}
